Skip to content

Conversation

joneshf
Copy link
Member

@joneshf joneshf commented Jun 8, 2016

Closes #72.

instance alternativeZipList :: Alternative ZipList

instance zipListIsNotBind
:: Fail "ZipList is not Bind. Any implementation would break the associativity law"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might make sense to suggest regular List here?

@paf31
Copy link
Contributor

paf31 commented Jun 8, 2016

Thanks!

@joneshf
Copy link
Member Author

joneshf commented Jun 10, 2016

Updated. Let me know if you'd like the error to be something else. Or if there's precedent somewhere, link me up 😄

@garyb
Copy link
Member

garyb commented Jun 10, 2016

New version looks nice! And I think you're setting the precedent here, we've not made use of this anywhere else yet. 😄

@paf31
Copy link
Contributor

paf31 commented Jun 10, 2016

👍 LGTM

@garyb garyb merged commit d46c39f into purescript:master Jun 11, 2016
@joneshf joneshf deleted the ziplist-bind branch June 11, 2016 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants